package com.example.message.dao;


import com.example.message.po.JMessageUtf8;

import java.util.List;
import java.util.Map;

public interface JMessageUtf8Mapper {
    int deleteByPrimaryKey(Long id);

    int insert(JMessageUtf8 record);

    int insertSelective(JMessageUtf8 record);

    JMessageUtf8 selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(JMessageUtf8 record);

    int updateByPrimaryKey(JMessageUtf8 record);

    List<JMessageUtf8> listByMap(Map<String, Object> params);
    
    /**
     * 根据名称查询
     * @param params<"names",[]>
     * @return
     */
    List<JMessageUtf8> selectByNames(Map<String, Object> params);

    List<JMessageUtf8> selectAllList();
    
    /**
     * 模糊查询JMessageUtf8表中name、valueCn、valueEn字段 根据期刊id
     * 
     */
    List<JMessageUtf8> selsetlikeBy(Map<String, Object> map);

    List<JMessageUtf8> selectByName(Map<String, Object> map);

    /**
     * jounlId
     * 根据期刊id删除这个期刊的全部自定义
     */
    int deleteByjournalId(Map<String, Object> map);
    
    int delectByname(Map<String, Object> map);

    List<JMessageUtf8> selectByMap(Map<String,Object> map);


}